package fun.chutianshu.eescore_full.entity;

import java.io.Serializable;
import java.util.Set;

/**
 * 学生课程关联表(StudentCourse)实体类
 *
 * @author makejava
 * @since 2021-04-27 20:06:13
 */
public class StudentCourse implements Serializable {
    private static final long serialVersionUID = 708538794702479961L;

    private Student student;
    private Course course;
    private Set<RoolBook> roolBooks;
    private Set<Homework> homeworks;
    private Set<Exam> exams;

    public Set<RoolBook> getRoolBooks() {
        return roolBooks;
    }

    public void setRoolBooks(Set<RoolBook> roolBooks) {
        this.roolBooks = roolBooks;
    }

    public Set<Homework> getHomeworks() {
        return homeworks;
    }

    public void setHomeworks(Set<Homework> homeworks) {
        this.homeworks = homeworks;
    }

    public Set<Exam> getExams() {
        return exams;
    }

    public void setExams(Set<Exam> exams) {
        this.exams = exams;
    }

    public Student getStudent() {
        return student;
    }

    public void setStudent(Student student) {
        this.student = student;
    }

    public Course getCourse() {
        return course;
    }

    public void setCourse(Course course) {
        this.course = course;
    }

    /**
    * 学生学号，学生表的主键
    */
    private Long stuCode;
    /**
    * 课程id 课程表主键
    */
    private Integer courseId;
    /**
    * 学生-课程中间表的主键
    */
    private Long scId;


    public Long getStuCode() {
        return stuCode;
    }

    public void setStuCode(Long stuCode) {
        this.stuCode = stuCode;
    }

    public Integer getCourseId() {
        return courseId;
    }

    public void setCourseId(Integer courseId) {
        this.courseId = courseId;
    }

    public Long getScId() {
        return scId;
    }

    public void setScId(Long scId) {
        this.scId = scId;
    }

}